package com.dodoke.day03;

public class Demo2 {
    public static void main(String[] args) {
       // System.out.println(getMax(10, 20));//
        int result = getMax(10, 20);
        System.out.println(result);
        for (int i = 1; i <= result ; i++) {
            System.out.println("HelloWorld");
        }
    }
    public static int getMax(int a,int b){
        if(a>b){
            return a;
        }else{
            return b;
        }
    }
}
